using System.Runtime.Serialization;
using Newtonsoft.Json;

namespace Dimebrain.TweetSharp.Model.Twitter
{
    [JsonObject(MemberSerialization.OptIn)]
    public class TwitterSearchTrend
    {
        [JsonProperty("query", IsRequired = true)]
#if !Smartphone
        [DataMember]
#endif
        public string Query { get; set; }

        [JsonProperty("name", IsRequired = true)]
#if !Smartphone
        [DataMember]
#endif
        public string Name { get; set; }

        [JsonProperty( "url" )]
#if !Smartphone
        [DataMember]
#endif
        public string Url { get; set; }
    }
}